
<input  type="hidden" id="services" name="serviceType"  maxlength="20" value="">
<div class="form-group">
    <label class="col-xs-3 control-label">优惠名称：</label>
    <div class="col-xs-9">
        <input type="hidden" name="id" value="${coupon.id!}"/>
        <input id="couponName" name="couponName" maxlength="20" value="${coupon.couponName!}" type="text" class="form-control" aria-required="true" aria-invalid="false" class="valid">
    </div>
</div>

<div class="form-group">
    <label class="col-xs-3 control-label">优惠编号：</label>
    <div class="col-xs-9">
        <input id="couponNum" class="form-control" name="couponNum"  maxlength="20" value="${coupon.couponNum!}" aria-required="true" aria-invalid="false" class="valid">
    </div>
</div>



<div class="form-group">
    <label class="col-xs-3 control-label">有效期起：</label>
    <div class="col-xs-9">
        <input   class="form-control" id="start" timeColumn="true" required  name="validBegin" value="${(coupon.validBegin?string("yyyy-MM-dd HH:mm:ss"))!''}" timeColumn="true" onFocus="WdatePicker({readOnly:true, dateFmt:'yyyy-MM-dd HH:mm:ss', maxDate:'#F{$dp.$D(\'end\',{d:-1});}',minDate:'%y-%M-%d'})" >
    </div>
</div>

<div class="form-group">
  <label class="col-xs-3 control-label">有效期止：</label>
    <div class="col-xs-9">
        <input  class="form-control" id="end" name="validEnd" required timeColumn="true"  value="${(coupon.validEnd?string("yyyy-MM-dd HH:mm:ss"))!''}" timeColumn="true" onFocus="WdatePicker({readOnly:true, dateFmt:'yyyy-MM-dd HH:mm:ss', minDate:'#F{$dp.$D(\'start\',{d:1});}'})">
    </div>
</div>

<div class="form-group">
    <label class="col-xs-3 control-label">优惠类型：</label>
    <div class="col-xs-9">
        <select name="couponType" value="${coupon.couponType!}" class="form-control">
            <option value="1">定时定向</option>
        </select>
    </div>
</div>



<div class="form-group">
    <label class="col-xs-3 control-label">服务类型：</label>
    <div class="col-xs-9">
    	
        <select data-placeholder="选择服务类型" id="serviceType" multiple class="chosen-select form-control">
            <option value="0">全部</option>
            <#list sList as item>
            	<option value=${item.id} hassubinfo="true">${item.serviceSubTypeName}</option>
            </#list>
        </select>
    </div>
</div>

<div class="form-group">
    <label class="col-xs-3 control-label">金额：</label>
    <div class="col-xs-9">
        <select name="money" value="${coupon.money!}" class="form-control" required >
            <option value="10">10元</option>
            <option value="20">20元</option>
            <option value="50">50元</option>
            <option value="100">100元</option>
            <option value="200">200元</option>
            <option value="500">500元</option>
            <option value="1000">1000元</option>
            
        </select>
    </div>
</div>

<div class="form-group">
    <label class="col-xs-3 control-label">数量：</label>
    <div class="col-xs-9">
        <input  class="form-control" required value="1" id="limitNumber" name="number" value="${coupon.number!''}" >
    </div>
</div>




